/* Stayhere CSS stylesheet */
@font-face {
font-family: "HelveticaNeue";
src: url("../assets/fonts/HelveticaNeue Medium.ttf");
}

/* === MOBILE LAYOUT 0PX 600PX === */

body {
  font-size: 16px;
  font-family: "HelveticaNeue", sans-serif;
  background: black;
  position: relative;
}

section.facelock-notification {
  display: flex;
  flex-flow: column;
  width: 80%;
  padding: 10px;
  background: white;
  z-index: 1000;
  border: 3px solid white;
  border-radius: 5px;
  box-shadow: 0 0 20px #000;
  /* position horizontally centered */
  position: fixed;
  top: -90px;
  left: 0px;
  right: 0px;
  margin: 0 auto;
  /* notification pops into view */
  animation-name: facelock-popup-mobile;
  animation-duration: 30s;
  /* animation-delay: 60s; */
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
}

/* animation that makes notification move into view then off canvas */
@keyframes facelock-popup-mobile {
  0% {top: -90px;}
  39% {top: -90px;}
  40% {top: 20px;}
  50% {top: 20px;}
  51% {top: -90px;}
  100% {top: -90px;}
}

.facelock-notification article img {
  height: 40px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.facelock-notification article h1 {
  margin-left: 50px;
  font-size: 1em;
}

.facelock-notification article p {
  margin-left: 50px;
  font-size: 0.8em;
}

.facelock-notification .link-to-facelock {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.facelock-notification .link-to-facelock p {
  font-size: 0.8em;
  text-transform: uppercase;
  color: grey;
  padding-right: 10px;
}

.facelock-notification .link-to-facelock p:hover {
  color: black;
}

.facelock-notification .link-to-facelock a:link {
  text-decoration-color: grey;
}

.facelock-notification .link-to-facelock a:visited {
  text-decoration-color: grey;
}

.facelock-notification .link-to-facelock a:hover {
  text-decoration-color: grey;
}

.facelock-notification .link-to-facelock a:active {
  text-decoration-color: grey;
}

section.top-navigation .corner_logo {
  z-index:100;
  position: absolute;
  left: 1em;
  top:1em;
}

.top-navigation .corner_logo figure img {
  width: 70%;
  cursor: pointer;
}

.top-navigation .top_black_filter {
  width: 100%;
  display: flex;
  position: fixed;
  z-index: 99;
}

.top-navigation .top_black_filter figure img {
  width: 100vw;
  height: auto;
  max-width: none;
  max-height: 100vh;
  object-fit: contain;
}

div.top_black_box {
  display: none;
}

section.hero {
  /* background: url(../assets/images/stayhere/index-bg2.jpg) no-repeat center center; */
  background: url(../assets/images/stayhere/index-bg2.jpg) no-repeat center -100px;
  background-size: cover;
  width: 100%;
  height: 90vh;
  min-height: 465px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow:hidden;
}


.artbg {
  background: none;
  width: 100%;
  /* height: 50%; */
  /* height: 60%; */
  color: white;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-flow: column;
  position: absolute;
  bottom: 0px;
}

.artbg .title_image_mobile {
  width: 100%;
  /* height: 75vh; */
  height: 20vh;
  min-height: 283px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.artbg .title_image_mobile img {
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  bottom: 0px;
}

.artbg .title_image_desktop {
  display: none;
}

#tagline-mobile {
  display: none;
  font-size: 1em;
  color: white;

  z-index: 1000;
  background: rgba(66, 66, 66, 0.5);
  height: auto;
  padding: 20px 40px;
  font-size: 0.9em;
  line-height: 22px;
  margin: 10px;
  /* transition: all 3s; */
}

#tagline-mobile h1 {
  margin-bottom: 10px;
  font-size: 1.28em;
}

#tagline-mobile .rating-line {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding-bottom: 5px;
}

#tagline-mobile .rating-line img {
  height: 14px;
  width: auto;
  padding-right: 5px;
}

#tagline-mobile h2 {
  font-weight: bold;
  font-size: 1.1em;
}

#tagline-mobile p {

}

#tagline-desktop {
  display: none;
  width: 100%;
  height: 0%;
  font-size: 1em;
  margin-bottom: 20px;
  color: white;
}

.artbg .reveal {
  background: url(../assets/images/stayhere/side-black-filter-desktop.png) no-repeat right center;
  width: 80%;
  height: 90%;
  color: white;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-flow: column;
  padding: 40px;
}

/* Toggle when click on "Info" */
#tagline-mobile .reveal {
  width: 100%;
  height: 100px;
  font-size: 1em;
  line-height: 22px;
  margin-bottom: 20px;
  color: white;
}

.artbg .buttonsx2-desktop {
  display: none;
}

#abandoned-house-image {
  opacity: 100%;
  /* height: 60vh; */
  /* width: 100%; */
  max-height: 100%;
  height: auto;
  position: absolute;
  right: center;
  top: 0;
  z-index: 2;
  transition: all 1s;
}

.play-image {
  animation-name: play-house-image;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* Moves image when "Play" button clicked */
@keyframes play-house-image {
  0% {right: -550px;}
  50% {right: 0px;}
  100% {right: -550px;}
}

#abandoned-house-image:hover {
  opacity: 0%;
}

.artbg .buttonsx3-mobile {
  /* min-height: 10vh;
  height: auto; */
  height: 100%;
  background: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 20px 30px;
  z-index: 3;
}

.artbg .buttonsx3-mobile .play-button {
  display: flex;
  flex-flow: row;
  background: #dcdbdb; /* light grey */
  margin-right: 20px;
  color: black;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.artbg .buttonsx3-mobile .play-button:hover {
  background: white;
}

.artbg .buttonsx3-mobile .play-button img {
  margin-right: 10px;
}

.artbg .buttonsx3-mobile .info-button, .artbg .buttonsx3-mobile .my-list-button {
  display: flex;
  align-items: center;
  flex-flow: column;
  color: white;
  font-size: 0.9em;
  cursor: pointer;
}

.artbg .buttonsx3-mobile .info-button, .artbg .buttonsx3-mobile .my-list-button {
color: white;
}

.artbg .buttonsx3-mobile .info-button img, .artbg .buttonsx3-mobile .my-list-button img {
  margin-bottom: 5px;
}

/* Popup container */
.my-list-button {
  /* Code from https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_popup */
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.my-list-button .popup-text {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  cursor: default;
}

/* Popup arrow */
.my-list-button .popup-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.my-list-button .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}


section.thumbnail_box {
  background: #000;
  padding-top: 16px;
  position: relative;
}

.thumbnail_box hgroup {
  color: white;
  padding: 40px 16px 16px 16px;
  font-weight: normal;
  background: #000;
}

.thumbnail_box header {
  color: white;
  font-size: 1em;
  margin-bottom: 8px;
  cursor: default;
}

.thumbnail_box .hidden {
  opacity: 0%;
  font-size: 0.8em;
  /* position: absolute;
  top: 3.5em; */
  transition: all 0.5s;
  cursor: default;
}

.thumbnail_box header:hover+.hidden{
  opacity: 100%;
}

/* Code from CSS TRICKS */
.thumbnail_slideshow {
  /* height: 200px; */
  height: 202.5px;
  /* max-width: 800px; */
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.thumbnail_slideshow > div {
  /* height: 200px; */
  height: 202.5px;
  /* width: 2526px; */
  width: 3443px;
  background: url(../assets/images/stayhere/thumbnails/thumbnail-bar4.jpg);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transform: translate3d(0, 0, 0);
}
.thumbnail_slideshow .mover-1 {
  /* animation: moveSlideshow 12s linear infinite; */
  animation: moveSlideshow 12s linear infinite;
  animation-delay: -12s;
}
.thumbnail_slideshow .mover-2 {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  /* background-position: 0 -200px; */
  background-position: 0 -202.5px;
  animation: moveSlideshow 12s linear infinite;
  animation-delay: -12s;
}
.thumbnail_slideshow:hover .mover-2 {
  opacity: 1;
}

@keyframes moveSlideshow {
  100% {
    transform: translateX(-66.6666%);
  }
}



/* ----------------------- */

/* === TABLET LAYOUT INHERITS FROM MOBILE 600PX and higher === */

@media only screen and (min-width: 600px) {
  section.top-navigation .corner_logo {
    position: fixed;
  }

  section.hero {
    background: url(../assets/images/stayhere/index-bg2.jpg) no-repeat 50px -50px;
    height: 60vh;
    max-height: 500px;
    overflow: hidden;
  }


  .artbg {
    background: url(../assets/images/stayhere/side-black-filter-desktop.png) no-repeat right center;
    /* width: 70%; */
    width: 80%;
    height: 90%;
    color: white;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-flow: column;
    padding: 40px;
  }


  .artbg .title_image_mobile {
    display: none;
  }

  .artbg .title_image_desktop {
    display: inline;
    margin-bottom: 20px;
    width: 70%;
  }

  .artbg .title_image_desktop img {
    /* syntax: drop-shadow(offset-x offset-y blur-radius color) */
    filter: drop-shadow(5px 3px 5px #000);
  }

  #tagline-mobile {
    display: none;
    height: 0%;
    visibility: hidden;
  }

  .artbg #tagline-desktop {
    display: block;
    width: 70%;
    height: auto;
    font-size: 1em;
    line-height: 22px;
    margin-bottom: 20px;
    color: white;
  }

  .artbg .buttonsx3-mobile {
    display: none;
  }

  .artbg .buttonsx2-desktop {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 70%;
  }

  .play-button {
    display: flex;
    flex-flow: row;
    background: #dcdbdb; /* light grey */
    margin-right: 20px;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }

  .play-button img {
    margin-right: 10px;
  }

  .play-button:hover {
    background: white;
  }

  .artbg .buttonsx2-desktop .my-list-button {
    display: flex;
    flex-flow: row;
    background: #4f4f4f;
    margin-right: 20px;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
  }

  .artbg .buttonsx2-desktop .my-list-button:hover {
    background: #747474; /*light grey*/
  }

  .artbg .buttonsx2-desktop .my-list-button img {
    margin-right: 10px;
  }

  /* The actual popup */
  .my-list-button .popup-text {
    width: 180px;
    background-color: #333;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: -150%;
    left: -30%;
    font-size: 0.9em;
  }

  /* Popup arrow */
  .my-list-button .popup-text::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    margin-left: -5px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
  }

  #abandoned-house-image {
    opacity: 100%;
    height: auto;
    position: absolute;
    right: 0px;
    bottom: -200px;
  }

  .play-image {
    animation-name: play-house-image;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  /* Moves image when "Play" button clicked */
  @keyframes play-house-image {
    0% {right: 0px}
    /* 10% {opacity:50%;} */
    50% {right: -200px}
    /* 60% {opacity: 10%;} */
    100% {right: 0px}
  }

  div.top_black_box {
    display: flex;
    position: fixed;
    background: #000;
    width: 100%;
    height: 80px;
    z-index: 89;
  }

  .top-navigation .top_black_filter {
    display:none;
  }

  section.thumbnail_box {
      padding: 2em 0;
  }

  .thumbnail_box hgroup {
    padding: 16px 40px;
    /* margin-bottom: 1px; */
  }

  .thumbnail_box header {
    font-size: 1.3em;
    margin-bottom: 4px;
  }

  .thumbnail_box .hidden {
    font-size: 0.9em;
  }

}

/* Making sure eyeball is visible */
@media only screen and (min-width: 750px) {
  section.hero {
    background: url(../assets/images/stayhere/index-bg2.jpg) no-repeat 150px -50px;
  }
}

/* Making sure eyeball is visible */
@media only screen and (min-width: 950px) {
  section.hero {
    background: url(../assets/images/stayhere/index-bg2.jpg) no-repeat 250px -50px;
  }
}

/* Making sure eyeball is visible */
@media only screen and (min-width: 1100px) {
  section.hero {
    background: url(../assets/images/stayhere/index-bg2.jpg) no-repeat 300px -50px;
  }
}

/* === DESKTOP LAYOUT INHERITS FROM MOBILE AND TABLET 1130PX and higher === */

@media only screen and (min-width: 1130px) {
  section.facelock-notification {
    width: 400px;
    border-radius: 0px;
    height: 130px;
    /* position on bottom right side of screen */
    top: auto;
    left: auto;
    right: 0px;
    bottom: 30px;
    /* notification pops into view */
    animation-name: facelock-popup-desktop;
    animation-duration: 30s;
    /* animation-delay: 60s; */
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
  }

  /* animation that makes notification move into view then off canvas */
  @keyframes facelock-popup-desktop {
    0% {right: -450px;}
    39% {right: -450px;}
    40% {right: 30px;}
    50% {right: 30px;}
    51% {right: -450px;}
    100% {right: -450px;}
  }

  .facelock-notification article img {
    height: 45px;
    position: absolute;
    top: 20px;
    left: 20px;
  }

  .facelock-notification article h1 {
    margin-left: 70px;
    font-size: 1.2em;
    padding-top: 10px;
    padding-bottom: 5px;
  }

  .facelock-notification article p {
    margin-left: 70px;
    font-size: 0.9em;
  }

  .facelock-notification .link-to-facelock {
    margin-top: 20px;
    margin-right: 10px;
  }

  .facelock-notification .link-to-facelock p {
    font-size: 0.9em;
  }

  section.hero {
    background: url(../assets/images/stayhere/index-bg2.jpg) no-repeat 350px -50px;
    /* justify-content: center; */
    /* width: 1300px; */
    width: 1100px;
    margin: 0px auto;
  }

  .artbg {
    padding: 0px;
  }

  .thumbnail_box hgroup {
    max-width: 1100px;
    margin: 0 auto 16px auto;
    padding: 10px 0px;
  }

}
